<?php use_helper('Object', 'Validation', 'ObjectAdmin', 'I18N', 'Date') ?>

<?php use_stylesheet('/sf/sf_admin/css/main') ?>
<iframe src="http://www.google.com/calendar/embed?mode=WEEK&amp;height=600&amp;wkst=1&amp;hl=fr&amp;bgcolor=%23FFFFFF&amp;src=cliniqueinsia%40gmail.com&amp;color=%232952A3&amp;ctz=Europe%2FParis" style=" border-width:0 " width="800" height="600" frameborder="0" scrolling="no" id="iframe1">

</iframe>

<div id="sf_admin_container">
<?php   if ($sf_user->isAuthenticated() && $sf_user->hasCredential("admin")): ?>
<h4>Fonctionnalités </h4>
<div id="sf_admin_content">
<ul class="sf_admin_actions">
  <li><?php echo button_to('Ajouter','planning/addEvent',array (
  'class' => 'sf_admin_action_save')); ?></li>
  <li><?php echo button_to('Supprimer','planning/deleteEvent',array (
   'confirm' => __('Êtes-vous sûr?'),
  'class' => 'sf_admin_action_delete')) ?></li>
  <li><?php echo button_to('Modifier','planning/editEvent',array (
  'class' => 'sf_admin_action_save')) ?></li>
</ul>
    </div>
</div>
<?php endif; ?>